CREATE PROCEDURE Log_Write
@p2 float,
@p3 nvarchar(Max),
@p4 nvarchar(8),
@p5 int
AS
BEGIN
	Insert into Log(Amount,Details,CardID,LogType) values(@p2,@p3,@p4,@p5)
END	
GO

Create PROCEDURE [dbo].[Account_GetAcc]
	@p1 nvarchar(50)
AS
BEGIN
	Select * from Card, Account where Card.AccountID=Account.AccountId and Card.CardID=@p1
END
